package cn.lili.controller.feign.member;

import cn.lili.modules.member.client.VipClient;
import cn.lili.modules.member.client.VipConfigClient;
import cn.lili.modules.member.service.VipConfigService;
import cn.lili.modules.member.service.VipService;
import cn.lili.modules.system.entity.dos.LiVip;
import cn.lili.modules.system.entity.dos.LiVipConfig;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.RestController;

/**
 * 会员 feign client
 *
 * @author Chopper
 * @version v1.0 2021-11-17 18:06
 */
@RestController
@RequiredArgsConstructor
public class VipConfigFeignController implements VipConfigClient {

    private final VipConfigService vipConfigService;

    @Override
    public LiVipConfig getByDefault() {
        return vipConfigService.getByDefault();
    }
}
